<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>My Project: ColorImageAffector类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_color_image_affector-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ColorImageAffector类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_particle_affector_8h_source.html">ParticleAffector.h</a>&gt;</code></p>
<div class="dynheader">
类 ColorImageAffector 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_color_image_affector.png" usemap="#ColorImageAffector_map" alt=""/>
  <map id="ColorImageAffector_map" name="ColorImageAffector_map">
<area href="class_particle_affector.html" alt="ParticleAffector" shape="rect" coords="0,0,122,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1bf275ef501a2512c5a68e1a7f541475"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a1bf275ef501a2512c5a68e1a7f541475">ColorImageAffector</a> (<a class="el" href="class_particle_group.html">ParticleGroup</a> *pParent, LPDIRECT3DDEVICE9 pDevice)</td></tr>
<tr class="separator:a1bf275ef501a2512c5a68e1a7f541475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b3fe1633297fc0325d8f0bc5732ad1"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#ad3b3fe1633297fc0325d8f0bc5732ad1">~ColorImageAffector</a> ()</td></tr>
<tr class="separator:ad3b3fe1633297fc0325d8f0bc5732ad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87da133d507241921c0f2c85983769cf"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a87da133d507241921c0f2c85983769cf">InitParticle</a> (<a class="el" href="class_particle.html">Particle</a> *p)</td></tr>
<tr class="separator:a87da133d507241921c0f2c85983769cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a543697b40100a1e30f5028291ad6eefa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a543697b40100a1e30f5028291ad6eefa">AffectParticle</a> (float fElapsedTime)</td></tr>
<tr class="separator:a543697b40100a1e30f5028291ad6eefa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6af9e39c449547a90b60fe154090af96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a6af9e39c449547a90b60fe154090af96">SetImageName</a> (LPSTR pName)</td></tr>
<tr class="separator:a6af9e39c449547a90b60fe154090af96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4476b5a68b430c3c59087c4930942c25"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a4476b5a68b430c3c59087c4930942c25">Load</a> (<a class="el" href="class_ti_xml_element.html">TiXmlElement</a> *pElemAffector)</td></tr>
<tr class="separator:a4476b5a68b430c3c59087c4930942c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5079523df8323d4c35323bcf6554848f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a5079523df8323d4c35323bcf6554848f">Save</a> (<a class="el" href="class_ti_xml_element.html">TiXmlElement</a> *pElemAffector)</td></tr>
<tr class="separator:a5079523df8323d4c35323bcf6554848f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7308f85fada21d9eed2e1ef5f7be4d1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#ac7308f85fada21d9eed2e1ef5f7be4d1">Clone</a> (<a class="el" href="class_particle_affector.html">ParticleAffector</a> *pe)</td></tr>
<tr class="separator:ac7308f85fada21d9eed2e1ef5f7be4d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_particle_affector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_particle_affector')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_particle_affector.html">ParticleAffector</a></td></tr>
<tr class="memitem:a3970b9593cf8d3a245c1e3793e2db22f inherit pub_methods_class_particle_affector"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle_affector.html#a3970b9593cf8d3a245c1e3793e2db22f">ParticleAffector</a> (<a class="el" href="class_particle_group.html">ParticleGroup</a> *pParent)</td></tr>
<tr class="separator:a3970b9593cf8d3a245c1e3793e2db22f inherit pub_methods_class_particle_affector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1991ec0b48bd8be2cf7712940d67e7 inherit pub_methods_class_particle_affector"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle_affector.html#aff1991ec0b48bd8be2cf7712940d67e7">~ParticleAffector</a> ()</td></tr>
<tr class="separator:aff1991ec0b48bd8be2cf7712940d67e7 inherit pub_methods_class_particle_affector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af34603ad36872d2b29ed320a61ae462c inherit pub_methods_class_particle_affector"><td class="memItemLeft" align="right" valign="top">virtual HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle_affector.html#af34603ad36872d2b29ed320a61ae462c">InvalidateDeviceObjects</a> ()</td></tr>
<tr class="separator:af34603ad36872d2b29ed320a61ae462c inherit pub_methods_class_particle_affector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad66b08777de7dd1288c131bf7c126303 inherit pub_methods_class_particle_affector"><td class="memItemLeft" align="right" valign="top">virtual HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle_affector.html#ad66b08777de7dd1288c131bf7c126303">RestoreDeviceObjects</a> ()</td></tr>
<tr class="separator:ad66b08777de7dd1288c131bf7c126303 inherit pub_methods_class_particle_affector"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:ae1a76509dfc31a1061ba4b0ad6bcbc68"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#ae1a76509dfc31a1061ba4b0ad6bcbc68">m_strImageName</a></td></tr>
<tr class="separator:ae1a76509dfc31a1061ba4b0ad6bcbc68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64bcec9eadb28269e9fe1ebf72f3f93a"><td class="memItemLeft" align="right" valign="top">LPDIRECT3DTEXTURE9&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a64bcec9eadb28269e9fe1ebf72f3f93a">m_pTexture</a></td></tr>
<tr class="separator:a64bcec9eadb28269e9fe1ebf72f3f93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec9fec0e7e0d4f59522006c18f713c64"><td class="memItemLeft" align="right" valign="top">LPDIRECT3DDEVICE9&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#aec9fec0e7e0d4f59522006c18f713c64">m_pDevice</a></td></tr>
<tr class="separator:aec9fec0e7e0d4f59522006c18f713c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69bd228865bfc184db836fc2084f75e6"><td class="memItemLeft" align="right" valign="top">BYTE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a69bd228865bfc184db836fc2084f75e6">m_pColorBuffer</a></td></tr>
<tr class="separator:a69bd228865bfc184db836fc2084f75e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa928ac38951056067c1f35fbad7065a0"><td class="memItemLeft" align="right" valign="top">UINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#aa928ac38951056067c1f35fbad7065a0">m_uiWidth</a></td></tr>
<tr class="separator:aa928ac38951056067c1f35fbad7065a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dbae2dae4924668a7ed25a60683dab2"><td class="memItemLeft" align="right" valign="top">UINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_color_image_affector.html#a8dbae2dae4924668a7ed25a60683dab2">m_uiPitch</a></td></tr>
<tr class="separator:a8dbae2dae4924668a7ed25a60683dab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_particle_affector"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_particle_affector')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="class_particle_affector.html">ParticleAffector</a></td></tr>
<tr class="memitem:a6d2b3b43d96cd8d97e0d98aba9e8821e inherit pub_attribs_class_particle_affector"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_particle_group.html">ParticleGroup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle_affector.html#a6d2b3b43d96cd8d97e0d98aba9e8821e">m_pParent</a></td></tr>
<tr class="separator:a6d2b3b43d96cd8d97e0d98aba9e8821e inherit pub_attribs_class_particle_affector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93eda799bc9d7407b48abbe5103c4d27 inherit pub_attribs_class_particle_affector"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle_affector.html#a93eda799bc9d7407b48abbe5103c4d27">m_Type</a></td></tr>
<tr class="separator:a93eda799bc9d7407b48abbe5103c4d27 inherit pub_attribs_class_particle_affector"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>颜色图效果器 </p><dl class="section remark"><dt>备注</dt><dd>使用一张贴图指定粒子在生存期间的颜色变化，比颜色衰减效果器更容易控制 复杂的颜色变化。 </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a1bf275ef501a2512c5a68e1a7f541475"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ColorImageAffector::ColorImageAffector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_particle_group.html">ParticleGroup</a> *&#160;</td>
          <td class="paramname"><em>pParent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPDIRECT3DDEVICE9&#160;</td>
          <td class="paramname"><em>pDevice</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad3b3fe1633297fc0325d8f0bc5732ad1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ColorImageAffector::~ColorImageAffector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a543697b40100a1e30f5028291ad6eefa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ColorImageAffector::AffectParticle </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>fElapsedTime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>每帧调用此函数影响粒子属性。 </p>

<p>实现了 <a class="el" href="class_particle_affector.html#a3a2b1060d5395368b32b369a8e188548">ParticleAffector</a>.</p>

</div>
</div>
<a class="anchor" id="ac7308f85fada21d9eed2e1ef5f7be4d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ColorImageAffector::Clone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_particle_affector.html">ParticleAffector</a> *&#160;</td>
          <td class="paramname"><em>pe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_particle_affector.html#a21d5d1abe109b43b05ce0112e2a15c8f">ParticleAffector</a>.</p>

</div>
</div>
<a class="anchor" id="a87da133d507241921c0f2c85983769cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ColorImageAffector::InitParticle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_particle.html">Particle</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>新粒子发射时调用此函数初始化粒子属性。 </p>

<p>重载 <a class="el" href="class_particle_affector.html#a18e4e1f1750749ed413d578f8388e2a4">ParticleAffector</a> .</p>

</div>
</div>
<a class="anchor" id="a4476b5a68b430c3c59087c4930942c25"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ColorImageAffector::Load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ti_xml_element.html">TiXmlElement</a> *&#160;</td>
          <td class="paramname"><em>pElemAffector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>读取粒子文件初始化此affector </p>

<p>实现了 <a class="el" href="class_particle_affector.html#a36d85fd872ed2d7af9b709ebc72060d1">ParticleAffector</a>.</p>

</div>
</div>
<a class="anchor" id="a5079523df8323d4c35323bcf6554848f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ColorImageAffector::Save </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ti_xml_element.html">TiXmlElement</a> *&#160;</td>
          <td class="paramname"><em>pElemAffector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>向文件中存储粒子信息 </p>

<p>重载 <a class="el" href="class_particle_affector.html#aea2b8797bf6d7e9c9d609064af9b400e">ParticleAffector</a> .</p>

</div>
</div>
<a class="anchor" id="a6af9e39c449547a90b60fe154090af96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ColorImageAffector::SetImageName </td>
          <td>(</td>
          <td class="paramtype">LPSTR&#160;</td>
          <td class="paramname"><em>pName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="a69bd228865bfc184db836fc2084f75e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE* ColorImageAffector::m_pColorBuffer</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aec9fec0e7e0d4f59522006c18f713c64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPDIRECT3DDEVICE9 ColorImageAffector::m_pDevice</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a64bcec9eadb28269e9fe1ebf72f3f93a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPDIRECT3DTEXTURE9 ColorImageAffector::m_pTexture</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae1a76509dfc31a1061ba4b0ad6bcbc68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string ColorImageAffector::m_strImageName</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8dbae2dae4924668a7ed25a60683dab2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINT ColorImageAffector::m_uiPitch</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa928ac38951056067c1f35fbad7065a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINT ColorImageAffector::m_uiWidth</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/<a class="el" href="_particle_affector_8h_source.html">ParticleAffector.h</a></li>
<li>M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/<a class="el" href="_particle_affector_8cpp.html">ParticleAffector.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2018年 七月 1日 星期日 22:10:10 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
